import request from './request'

export const add = (params) => {
  return request.post('/zxch/fruit/app',params)
}

export const getList = (params) => {
  return request.get('/zxch/fruit/app/list',params)
}

export const getInfo = (id) => {
  return request.get(`/zxch/fruit/app/${id}`)
}

export const signImage = (params) => {
  return request.put('/zxch/fruit/app/signImage',params)
}

export const revoke = (id) => {
  return request.put(`/zxch/fruit/app/revoke/${id}`)
}

export const modifyRecord = (params) => {
  return request.put(`/zxch/fruit/app`,params)
}